# -*- coding: utf-8 -*-
# @Time    : 2018/11/15 15:36
# @Author  : zjj
# @Email   : 1933860854@qq.com
# @File    : StartSpriderMain.py
# @Software: PyCharm
from scrapy import cmdline
import threading
import _thread
def startIQiYi():
    cmdline.execute("scrapy crawl iQiYiSpider".split())

def startBaiDu():
    cmdline.execute("scrapy crawl BaiDuSpider".split())

def startIFeng():
    cmdline.execute("scrapy crawl iFengSpider".split())

def startQiDian():
    cmdline.execute("scrapy crawl qiDianSpider".split())

if __name__ == '__main__':
    # startIFeng()
    # startIQiYi()
    # _thread.start_new_thread(startIFeng())
    _thread.start_new_thread(startBaiDu())
    # startBaiDu()
    # startQiDian()

